package licode.unisop.auth.config;

import licode.unisop.auth.adapter.web.AuthTokenController;
import licode.unisop.auth.adapter.web.AuthorUniController;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * 注入AppAuthController和SsoAuthController接口类
 *
 * @author WR
 */
public class AuthImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata importingMetadata) {
        return new String[]{
                AuthorUniController.class.getName(),
                AuthTokenController.class.getName(),
        };
    }
}
